package com.school.base.dao;

import java.util.List;

import com.school.base.model.News;

public interface INewsDao {
	public News getNewsById(int id);

	public List<News> getNewsList(News news, int offset, int pageSize);

	public int getTotalCount(News news);

	public void updateNews(News news);

	public void deleteNews(int id);

	public void insertNews(News news);
	
	public void updateNewsSticky(int newsId,int to);
}
